<template>
        <div>
                <h4>A页面</h4>
                <div class="page1">
                        <div>
                                动态路由传参数: {{route}}
                        </div>
                </div>
                <router-view></router-view>
        </div>
</template>
    
<script setup lang='ts'>
    import { useRoute } from 'vue-router';
import router from '../../router/index';
    const route = useRoute();
    console.log('route-a:', route);
</script>
    
<style lang="less" scope>
        .page1 {
                width: 100%;
                height: auto;
                background-color: aqua;
        }
</style>